home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / bpl70n15.zip / TURBPERF.DOC < prev   
Text File  |  1993-05-20  |  22KB  |  468 lines

  1. ++++++++++++++ TURBO.TPL Performance Comparison ++++++++++++++++++++
  2.  
  3.                    BP 7.0 Turbo Pascal Library
  4.                               versus
  5.                 BP 7.0 Runtime Library Update 1.2
  6.  
  7.  
  8.       Performance data for Cyrix 486DLC, Intel RapidCAD, Intel 386DX,
  9.       and Intel 8086
  10.  
  11. Note: The time resolution in the ARITEST test program is about 0.3
  12.       usec, so the relative timing error can get quite large for
  13.       small times like those measured on a 386DX, 486DLC, or Intel
  14.       RapidCAD. For these processors, the times given in the table
  15.       represent the average of three measurements.
  16.  
  17.  
  18. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  19. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  20.  
  21.  
  22. Machine configuration: Cyrix 486DLC 40 MHz Computer w/ 128 kB CPU-cache
  23.                        8.0 MB of RAM
  24.                        Cyrix 387+ coprocessor
  25.                        DOS 5.0 Operating System
  26.  
  27.  
  28. Test Program: ARITEST.PAS
  29.  
  30.                                                          PERFORMANCE
  31. OPERATION (in usec)        BP 7.0 TPL    BP 7.0 RLU         INCREASE
  32. --------------------------------------------------------------------
  33. LONG-Mul                          1.9           1.6           18.75%
  34. LONG-Div                          2.9           3.4          -14.71%
  35. LONG-Abs                          0.3           0.3            0.00%
  36. REAL-Float                        3.0           2.5           20.00%
  37. REAL-Add                          6.1           6.6           -7.58%
  38. REAL-Sub                          6.7           6.9           -2.90%
  39. REAL-Mul                          6.3           6.2           -1.59%
  40. REAL-Mul (Short)                  3.7           3.8           -2.63%
  41. REAL-Div                         41.6          10.7          288.79%
  42. REAL-Sqr                          5.8           4.4           31.82%
  43. REAL-Sqr (Short)                  2.1           1.8           16.67%
  44. REAL-Int                          2.8           2.8            0.00%
  45. REAL-Frac                         7.9           2.1          276.19%
  46. REAL-Trunc                        3.1           3.4           -8.82%
  47. REAL-Round                        3.1           3.4           -8.82%
  48. REAL-Sqrt                       248.4           8.4         2857.14%
  49. REAL-Ln                         142.4          86.2           65.20%
  50. REAL-Exp                        160.6          72.8          120.60%
  51. REAL-Sin                        114.6          78.8           45.43%
  52. REAL-Cos                        117.7          77.2           52.46%
  53. REAL-ArcTan                     106.1          59.3           78.92%
  54. --------------------------------------------------------------------
  55.  
  56.  
  57. Test Program: DHRYSTON.PAS
  58.  
  59.                                                          PERFORMANCE
  60. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  61. --------------------------------------------------------------------
  62. Dhrystones / Sec:             13850.7       14545.7            5.02%
  63. --------------------------------------------------------------------
  64.  
  65.  
  66. Test Program: WHETSTON.PAS
  67.  
  68.                                                          PERFORMANCE
  69. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  70. --------------------------------------------------------------------
  71. REAL KWhetstones:             564.972      1049.318           85.73%
  72. --------------------------------------------------------------------
  73.  
  74.  
  75. Test Program: STRTEST.PAS
  76.  
  77.                                                          PERFORMANCE
  78. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  79. --------------------------------------------------------------------
  80. String-Benchmark (msec)           478           270           77.04%
  81. --------------------------------------------------------------------
  82.  
  83.  
  84. Test Program: WHETST87.PAS
  85.  
  86.                                                          PERFORMANCE
  87. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  88. --------------------------------------------------------------------
  89. DOUBLE PRECISION KWhetstones:2673.797      3367.003           25.93%
  90. --------------------------------------------------------------------
  91.  
  92.  
  93. Test Program: LLL.PAS
  94.  
  95.                                                          PERFORMANCE
  96. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  97. --------------------------------------------------------------------
  98. DOUBLE PRECISION MFLOPS:       0.3923        0.4351           10.91%
  99. --------------------------------------------------------------------
  100.  
  101.  
  102. Test Program: SETTEST.PAS
  103.  
  104.                                                          PERFORMANCE
  105. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  106. --------------------------------------------------------------------
  107. Set benchmark (sec):           26.843        21.272           26.19%
  108. --------------------------------------------------------------------
  109.  
  110.  
  111. Test Program: LONGBN2.PAS
  112.  
  113.                                                          PERFORMANCE
  114. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  115. --------------------------------------------------------------------
  116. Longint benchmark (msec):         122 (*)       119            2.52%
  117. --------------------------------------------------------------------
  118.  
  119. (*) original library returns wrong results due to bug in SHL, SHR routines
  120.  
  121.  
  122. Test Program: HEAPTEST.PAS
  123.  
  124.                                                          PERFORMANCE
  125. OPERATION                  BP 7.0 TPL    BP 7.0 RLU         INCREASE
  126. --------------------------------------------------------------------
  127. Heap benchmark (msec):            213           206            3.40%
  128. --------------------------------------------------------------------
  129.  
  130.  
  131.  
  132. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  133. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  134.  
  135.  
  136. Machine configuration: Intel RapidCAD 40 MHz Computer w/ 128 kB CPU-cache
  137.                        8.0 MB of RAM
  138.                        on-chip coprocessor in RapidCAD
  139.                        DOS 5.0 Operating System
  140.  
  141.  
  142. Test Program: ARITEST.PAS
  143.  
  144.                                                          PERFORMANCE
  145. OPERATION (in usec)        BP 7.0 TPL    BP 7.0 RLU         INCREASE
  146. --------------------------------------------------------------------
  147. LONG-Mul                          2.7           3.1          -12.90%
  148. LONG-Div                          3.5           4.6          -18.60%
  149. LONG-Abs                          0.3           0.3            0.00%
  150. REAL-Float                        3.8           3.3           15.15%
  151. REAL-Add                          6.2           6.7           -7.46%
  152. REAL-Sub                          7.0           7.3           -4.11%
  153. REAL-Mul                         11.7          11.8           -0.85%
  154. REAL-Mul (Short)                  5.4           5.5           -1.82%
  155. REAL-Div                         36.3          15.0          142.00%
  156. REAL-Sqr                         11.6           8.3           39.76%
  157. REAL-Sqr (Short)                  3.0           2.5           20.00%
  158. REAL-Int                          2.7           2.6            3.85%
  159. REAL-Frac                         7.8           2.7          188.89%
  160. REAL-Trunc                        3.4           3.5           -2.86%
  161. REAL-Round                        3.4           3.5           -2.86%
  162. REAL-Sqrt                       220.3          12.0         1735.83%
  163. REAL-Ln                         188.2         113.8           65.38%
  164. REAL-Exp                        193.3          97.3           98.66%
  165. REAL-Sin                        164.6         105.8           55.57%
  166. REAL-Cos                        166.9         102.9           62.20%
  167. REAL-ArcTan                     143.7          78.5           83.31%
  168. --------------------------------------------------------------------
  169.  
  170.  
  171. Test Program: DHRYSTON.PAS
  172.  
  173.                                                          PERFORMANCE
  174. OPERATION